package dfl.bysj.entity.VO;

import com.alibaba.excel.annotation.ExcelProperty;
import dfl.bysj.entity.Academy;
import dfl.bysj.entity.Grade;
import dfl.bysj.entity.Student;
import lombok.Data;

@Data
public class ExcelDictDTO_Student {

    @ExcelProperty("学号")
    private Integer stuId;

    @ExcelProperty("姓名")
    private String stuName;

    @ExcelProperty("电话号码")
    private Integer stuPhone;
    @ExcelProperty("班级")
    private String graName;
    @ExcelProperty("学院")
    private String acaName;

    public ExcelDictDTO_Student(Student student, Grade grade, Academy academy) {
        this.stuId = student.getStuId();
        this.stuName = student.getStuName();
        this.stuPhone = student.getStuPhone();
        this.graName = grade.getGraName();
        this.acaName = academy.getAcaName();
    }

    public ExcelDictDTO_Student() {
    }


}